package vista;

import javax.swing.Action;
import javax.swing.JTextArea;

public class AreaTexto extends JTextArea{

	public AreaTexto() {
	    Action[] acoes = this.getActions();  
	    for( Action acaoAtual : acoes ){  
	        if( acaoAtual.toString().contains("InsertBreakAction") ){  
	        	acaoAtual.setEnabled( false );     
	        }  
	    }  
	}
	
	static final long serialVersionUID = 0;
}
